<!--
 * @Author: cqg 
 * @Date: 2020-09-12 14:59:45
 * @LastEditors: cqg
 * @LastEditTime: 2020-12-01 15:00:43
 * @Description: file content
-->
<template>
  <div>

    <div class="resource-manage">
      <div class="card-box"
           v-loading="loading">
        <div class="card-title">步骤详情</div>
        <div style="width: 80%;height: 100Px;margin-left: 10%; margin-top: 50px;">
          <el-steps :active="active"
                    finish-status="success">
            <el-step title="步骤 1"></el-step>
            <el-step title="步骤 2"></el-step>
            <el-step title="步骤 3"></el-step>
          </el-steps>
        </div>

        <first-step ref="firstStep"
                    v-if="firstStepHide"></first-step>
        <two-step ref="twoStep"
                  v-if="twoStepHide"></two-step>
        <three-step ref="threeStep"
                    v-if="threeStepHide"></three-step>
        <div slot="foot"
             style="text-align: center;height: 50px;  padding:10px;">
          <el-button size="small"
                     @click="goBack()"
                     style="width: 80px"
                     plain
                     v-if="active > 1">
            上一步
          </el-button>
          <el-button type="primary"
                     size="small"
                     @click="next()"
                     style="width: 80px"
                     v-if="active < 3">
            下一步
          </el-button>
          <el-button type="primary"
                     size="small"
                     @click="goList()"
                     style="width: 80px">
            返回
          </el-button>
        </div>
      </div>
    </div>

  </div>
</template>

<script src='./warehousing-import.js'></script>

<style scoped lang="scss">
@import './warehousing-import';

@include formWrap(4);
</style>
